package zucc.edu.repay.bean;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "travel")
public class travel {
	private Integer travelid;//出差单号
	private Integer repayid;//申报单号
	private String travellocation;//省内出差
	private String travelprovince;//省外出差
	private Date startdata;//出差开始日期
	private Date enddata;//出差结束日期
	private Integer days;//天数
	private Double plane;//坐飞机
	private Double train;//火车
	private String tasfficother;//其他交通
	private Double stayfees;//住宿费用
	private Double foodfees;//伙食费用
	private Double mifess;//公杂费用
	private String other;//其他

@Id
	@Column(name = "travelid")
	public Integer getTravelid() {
		return travelid;
	}
	public void setTravelid(Integer travelid) {
		this.travelid = travelid;
	}
	
@Column(name = "repayid")
	public Integer getRepayid() {
		return repayid;
	}
	public void setRepayid(Integer repayid) {
		this.repayid = repayid;
	}
	
@Column(name = "travellocation")
	public String getTravellocation() {
		return travellocation;
	}
	public void setTravellocation(String travellocation) {
		this.travellocation = travellocation;
	}
	
@Column(name = "travelprovince")
	public String getTravelprovince() {
		return travelprovince;
	}
	public void setTravelprovince(String travelprovince) {
		this.travelprovince = travelprovince;
	}
	
@Column(name = "startdata")
	public Date getStartdata() {
		return startdata;
	}
	public void setStartdata(Date startdata) {
		this.startdata = startdata;
	}
	
@Column(name = "enddata")
	public Date getEnddata() {
		return enddata;
	}
	public void setEnddata(Date enddata) {
		this.enddata = enddata;
	}
	
@Column(name = "days")
	public Integer getDays() {
		return days;
	}
	public void setDays(Integer days) {
		this.days = days;
	}
	
@Column(name = "plane")
	public Double getPlane() {
		return plane;
	}
	public void setPlane(Double plane) {
		this.plane = plane;
	}
	
@Column(name = "train")
	public Double getTrain() {
		return train;
	}
	public void setTrain(Double train) {
		this.train = train;
	}
	
@Column(name = "tasfficother")
	public String getTasfficother() {
		return tasfficother;
	}
	public void setTasfficother(String tasfficother) {
		this.tasfficother = tasfficother;
	}
	
@Column(name = "stayfees")
	public Double getStayfees() {
		return stayfees;
	}
	public void setStayfees(Double stayfees) {
		this.stayfees = stayfees;
	}
	
@Column(name = "foodfees")
	public Double getFoodfees() {
		return foodfees;
	}
	public void setFoodfees(Double foodfees) {
		this.foodfees = foodfees;
	}
	
@Column(name = "mifess")
	public Double getMifess() {
		return mifess;
	}
	public void setMifess(Double mifess) {
		this.mifess = mifess;
	}
	
@Column(name = "other")
	public String getOther() {
		return other;
	}
	public void setOther(String other) {
		this.other = other;
	}
	
}
